export const ColumnProps = [
    {
        title: '地图名称',
        dataIndex: 'name',
        width: 200
    },
    {
        title: '地图类型',
        dataIndex: 'type',
        width: 100
    },
    {
        title: '创建人',
        dataIndex: 'creator',
        width: 200
    },
    {
        title: '创建时间',
        dataIndex: 'createTime',
        width: 300
    },
    {
        title: '修改人',
        dataIndex: 'updater',
        width: 200
    },
    {
        title: '修改时间',
        dataIndex: 'updateTime',
        width: 300
    },
]


export const RuleProps = {
    name: [{ required: true, message: '地图名称不能为空' }],
    type: [{ required: true, message: '选择地图类型' }],
}


export const FormProps = {
    id: '',
    name: '',
    type: '',
}


export const FilterItems = [
    {
        type: 'input',
        label: '地图名称',
        key: 'name',
        placeholder:'请输入地图名称'
    },
    {
        type: 'select',
        label: '地图类型',
        key: 'type',
        placeholder:'请选择地图类型'
    },
    {
        type: 'rangePicker',
        label: '日期',
        key: 'date',
        placeholder: ['开始时间', '结束时间']
    },
]


export const FormItems = [
    {
        type: 'input',
        label: '地图名称',
        isShow: true,
        key: 'name',
        placeholder:'请输入组织名',
        maxLength: 50
    },
    {
        type: 'select',
        label: '类型',
        key: 'type',
        isShow: true,
        data: [ ],
        placeholder:'请选择地图类型'
    },
]


export const FilterModelProps = {
    total: 0,
    current: 1,
    pageSize: 10,
    name: '',
    type: '',
    date: [],
    beginDate: '',
    endDate: ''
}
